Piwik\DataAccess\Model D

Total Complexity 143
Dependencies 23
Dependents 11
Total lines 805
Lines of code 618
Logical lines of code 436
Comment lines 142
Methods 41
Properties 1

Methods 41

Method Rating Maintainability Complexity Lines of code
updateArchiveAsInvalidated()
D
28
32 119
getInvalidatedArchiveIdsSafeToDelete()
A
46 10 37
updateRangeArchiveAsInvalidated()
S
47 6 33
hasInvalidationForPeriodAndName()
S
55 6 18
getRecordsContainedInArchives()
S
51 5 24
getInvalidationsInProgress()
S
53 5 22
createArchiveTable()
S
55 5 20
releaseInProgressInvalidations()
S
48 4 31
resetFailedArchivingJobs()
S
59 5 14
getDeletedSegmentWhereClause()
S
56 4 16
allocateNewArchiveId()
S
58 4 16
getArchiveIdsForSegments()
S
58 4 15
getArchiveIdsForDeletedSites()
S
55 3 19
getNextInvalidatedArchive()
S
57 3 16
deleteArchivesWithPeriod()
S
57 3 16
deleteOlderArchives()
S
56 3 16
hasChildArchivesInPeriod()
S
56 3 15
getRemoveInvalidationsIdSitesClause()
S
64 3 9
doRequestedRecordsLookNumeric()
S
67 3 8
deleteArchiveIds()
S
58 2 14
isSimilarArchiveInProgress()
S
59 2 13
isArchiveAlreadyInProgress()
S
60 2 12
getExistingInvalidations()
S
59 2 12
getArchiveIdAndVisits()
S
59 2 12
getSitesWithInvalidatedArchive()
S
65 2 8
isCutOffGroupConcatResult()
S
73 2 4
__construct()
S
79 2 3
startArchive()
S
69 2 5
getNameCondition()
S
64 2 9
removeInvalidationsLike()
S
68 1 6
removeInvalidations()
S
68 1 6
deleteInvalidations()
S
67 1 7
insertRecord()
S
64 1 9
updateArchiveStatus()
S
77 1 3
deleteInvalidationsForSites()
S
69 1 6
deleteInvalidationsForDeletedSites()
S
70 1 6
getArchiveStatus()
S
77 1 3
getTemporaryArchivesOlderThan()
S
72 1 4
makeExistingInvalidationArrayKey()
S
77 1 3
getHashFromDoneFlag()
S
74 1 4
getInstalledArchiveTables()
S
71 1 5